package com.xhj.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@ConfigurationProperties(prefix = "wx.open")
@Component
public class ConstantProperties implements Serializable {
    // 微信开放平台appid
    private String appId;
    // 微信开放平台appsecret
    private String appSecret;
    // 微信开放平台重定向url
    private String redirectUrl;
}
